package ${package};

import com.harsons.commons.annotation.EnableHsFeignClients;
import com.harsons.job.annotation.EnableHsXxlJob;
import com.harsons.swagger.annotation.EnableHsSwagger2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import com.harsons.security.annotation.EnableHsResourceServer;

/**
 * 描述:
 * <p>
 * <br>==========================
 * <br> 公司：华胜科技
 * <br> 开发：cj
 * <br> 版本：1.0
 * <br> 创建时间：2021/12/14
 * <br>==========================
 */

@SpringBootApplication
@EnableTransactionManagement
@ImportResource("classpath:beans.xml")
@EnableAsync
@EnableHsSwagger2
@EnableHsFeignClients
@EnableHsResourceServer
public class HarsonsApp {

    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(HarsonsApp.class);
        app.setBannerMode(Banner.Mode.OFF);
        app.run(args);
    }
}
